package com.ny.Test;


public class Mss {
    public static void main(String[] args) {
        com.ny.Test.Vehicle[] vehicles=new com.ny.Test.Vehicle[3];
        vehicles[0]=new com.ny.Test.Car("宝马","X5");
        vehicles[1]=new com.ny.Test.Car("奔驰","C级");
        vehicles[2]=new Car("美利达","挑战者300");
        for (Vehicle vehicle:vehicles){
            vehicle.drive();
        }
    }
}